package com.josework.springhelloworld.entity;

public class AppleHeavyWeightPredicate implements  ApplePredicate{
    @Override
    public boolean test(Apple apple) {
        return apple.getWeight()>150;
    }
}
